package com.maket.scxx.domain;


import com.ruoyi.common.core.web.domain.BaseEntity;

import java.io.Serializable;

/**
 * 产品分类表
 * @TableName cpfl_product_classification
 */
public class CpflProductClassification extends BaseEntity {
    /**
     * 
     */

    private String cpflCode;

    /**
     * 
     */
    private String cpflName;


    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public String getCpflCode() {
        return cpflCode;
    }

    /**
     * 
     */
    public void setCpflCode(String cpflCode) {
        this.cpflCode = cpflCode;
    }

    /**
     * 
     */
    public String getCpflName() {
        return cpflName;
    }

    /**
     * 
     */
    public void setCpflName(String cpflName) {
        this.cpflName = cpflName;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        CpflProductClassification other = (CpflProductClassification) that;
        return (this.getCpflCode() == null ? other.getCpflCode() == null : this.getCpflCode().equals(other.getCpflCode()))
            && (this.getCpflName() == null ? other.getCpflName() == null : this.getCpflName().equals(other.getCpflName()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getCpflCode() == null) ? 0 : getCpflCode().hashCode());
        result = prime * result + ((getCpflName() == null) ? 0 : getCpflName().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", cpflCode=").append(cpflCode);
        sb.append(", cpflName=").append(cpflName);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}